package com.jintu.portal.pojo.entity.mongo;

import com.alibaba.fastjson.JSONObject;
import com.jintu.portal.config.Constant;
import lombok.Data;
import org.springframework.data.annotation.Id;
import org.springframework.data.mongodb.core.mapping.Document;
import org.springframework.data.mongodb.core.mapping.Field;

@Data
@Document(collection = Constant.DEVICE_INFO)
public class DeviceFingerHead {

    @Id
    private String id;

    @Field("orderId")
    private String orderId;

    @Field("insertTimestamp")
    private Long insertTimestamp;

    @Field("orderTimestamp")
    private Long orderTimestamp;

    @Field("data")
    private JSONObject data;
}
